package com.atguigu.yygh.hosp.service;

import com.atguigu.yygh.model.hosp.Hospital;
import com.atguigu.yygh.vo.hosp.HospitalQueryVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface HospitalService {
    void saveHosp(Hospital hospital);

    Hospital getHospByHoscode(String hoscode);

    Page<Hospital> selectPage(Integer page, Integer limit, HospitalQueryVo hospitalQueryVo);

    void updateHospStatus(String id, Integer status);

    //查询医院详情数据
    Map<String, Object> getHospById(String id);

    String getHosNameByHoscode(String hoscode);

    List<Hospital> selectHospList(HospitalQueryVo hospitalQueryVo);

    List<Hospital> getHospName(String hosname);

    //根据医院编号查询医院详情
    Map<String, Object> getHospHoscodeApi(String hoscode);
}